package kr.co.redcircle.service.oAuth.api.naver;

import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.Token;

public class NaverApi extends DefaultApi10a {

	@Override
	public String getAccessTokenEndpoint() {
		return "https://nid.naver.com/naver.oauth?mode=req_acc_token";
	}

	@Override
	public String getAuthorizationUrl(Token token) {
		return String.format("https://nid.naver.com/naver.oauth?mode=auth_req_token&oauth_token=%s", token.getToken());
	}

	@Override
	public String getRequestTokenEndpoint() {
		return "https://nid.naver.com/naver.oauth?mode=req_req_token";
	}

}
